package org.xue.snowmall.bargain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author zy
 * @email 2067065884@qq.com
 * @date 2021-09-25 19:08:58
 */
@Data
@TableName("gsm_bargain")
public class BargainEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 活动id
	 */
	@TableId
	private Long gsmBargainId;
	/**
	 * 商品id
	 */
	private Long psmId;
	/**
	 * 活动名称
	 */
	private String gsmBargainName;
	/**
	 * 活动开始时间
	 */
	private Date gsmBargainStartTime;
	/**
	 * 活动结束时间
	 */
	private Date gsmBargainEndTime;
	/**
	 * 每人限购数量
	 */
	private Integer gsmBargainLimitCount;
	/**
	 * 商品底价
	 */
	private BigDecimal psmBargainPrice;
	/**
	 * 状态
	 */
	private String gsmBargainStatus;
	/**
	 * 砍价规则(共砍多少刀)
	 */
	private Integer gsmBargainMaxCount;
	/**
	 * 砍价规则(最多砍多少钱)
	 */
	private BigDecimal gsmBargainMaxPrice;
	/**
	 * 活动描述
	 */
	private String gsmBargainShare;


	private String psmName;


	private BigDecimal psmPrice;

	private String gsmRuleType;

	private String psmImg;
}
